* {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

button {
    border: none;
}
body {
    background-color: #f3f5f7;
}
.w {
    width: 1200px;
    margin: auto;
}
.header {

    height: 42px;
    margin: 30px auto;
}

.logo img {
    height: 42px;
}

.logo {
    float: left;
    margin-right: 60px;
}

.nav {
    float: left;
}
.nav ul li {
    float: left;
}
.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    margin-right: 20px;
    font-size: 18px;
    color: #050505;
    line-height: 42px;
    text-decoration: none;
}
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
}
.search {
    float: left;
    margin-left: 70px;
}
.search input{
    float: left;
    width: 340px;
    padding-left: 20px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #ccc;

}
.search button {
    float: left;
    width: 50px;
    height: 42px;
    background: url("images/Snipaste_2024-03-07_19-15-18.png");
}

.user img {
    height: 42px;
}
.user {
    float: left;
    margin-left: 30px;
    height: 42px;
    line-height: 42px;
    font-size: 14px;
    color: #666;

}

.banner {
    height: 420px;
    background: #1c036c url("images/Snipaste_2024-03-08_14-46-16.png") no-repeat top center;
}
.subnav {
    float: left;
    height: 420px;
    width: 150px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0 20px;
}

.subnav li a {
    display: block;
    height: 45px;
    line-height: 45px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;;

}
.subnav li a:hover {
    color: #00b4ff;
}
.subnav span {
    float: right;
}

.course {
    margin-top: 50px;
    float: right;
    width: 228px;
    height: 300px;
    background-color: #ffffff;
}
.course-hd {
    height: 48px;
    background-color: #9bceea;
    font-size: 18px;
    text-align: center;
    line-height: 48px;
    color: #ffffff;
    font-weight: 700;
}
.course-bd {
    padding: 0 15px;
}
.course-bd ul {
    padding-top: 10px;
}
.course-bd li {
    height: 50px;
    margin-top: 10px;
    border-bottom: 1px solid #ccc;
}
.course-bd li h4 {
    font-size: 14px;
    color: #4e4e4e;
}
.course-bd li p {
    font-size: 12px;
    color: #5a5a5a
}
.all {
    display: block;
    height: 38px;
    border: 1px solid #00a4ff;
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    line-height: 38px;
    color: #00a4ff;
    text-decoration: none;
}
.all:hover {
    color: #ffffff;
    background-color: #00a4ff;
}
/*大盒子的模型*/
.goods {
    height: 60px;
    margin-top: 10px;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
    background-color: #ffffff;
    line-height: 60px;
}
.goods h3 {
    float: left;
    font-size: 16px;
    color: #00a4ff;
    margin: 0 30px;
}
.goods-item {
    float: left;
    color: #bfbfbf;
}
.goods-item a {
    margin:0 30px;
    font-size: 16px;
    color: #050505;
}
.mod {
    margin-right: 30px;
    float: right;
    font-size: 16px;
    color: #00a4ff;

}

.box {
    margin-top: 15px;
}

.box-hd {
    height: 60px;
    line-height: 60px;
}
.box-hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
    font-weight: 400;
}
.box-hd a {
    float: right;
    margin-right: 30px;
    font-size: 12px;
    color: #a5a5a5;
}
.box-bd {
    width: 1215px;
}
.hot {
    position: absolute;
    right: -3px;
    width: 20px;
    height: 20px;
    background-color: pink;
}
.box-bd li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
}
.box-bd li img {
    width: 100%;
}
.box-bd li h4 {
    margin: 20px;
    font-size: 15px;
    color: #050505;
    font-weight: 400;
}
.box-bd li p {
    margin: 0 20px;
    font-size: 12px;
    color: #999 ;
}
.box-bd li span {
    color: orange;
}

.footer {
    height: 385px;
    padding-top: 30px;
    background-color: #fff;
}
.footer img {
    height: 42px;
}

.copyright p {
    font-size: 14px;
    color: #666;
    margin: 20px 0 15px 0;
}
.copyright {
    float: left;
}
.app {
    display: block;
    width: 118px;
    height: 34px;
    border:1px solid #00a4ff;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    color: #00a4ff;
}

.links {
    float: right;
}
.links dl {
    float: left;
    margin-left: 100px;
}
.links dt {
    height: 35px;
    font-size: 16px;
    color: #333333;
}
.links dd a{
    font-size: 12px;
    color: #333333;
}
.links dd a:hover{
    color: #00a4ff;
}

.fixbar {
    position: fixed;
    left: 50%;
    margin-left: -740px;
    width: 140px;
    height: 420px;
    background-color: pink;
}
.fixbar li {
    padding: 10px;
    color: #ffffff;
}